﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Tab.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="head" ContentPlaceHolderId="FileImportContent" runat="server">
    <script type="text/javascript" src="../../Scripts/jquery-ui-1.8.21.custom.min.js"></script>
    <script type="text/javascript" src="../../Scripts/gestioneNotizie.js"></script>
    <script type="text/javascript">
        $(function(){
            $("#listaNotizie").load("Notizie/ListNotice");
        })
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Gestione notizie</h2>

    <%= Html.ActionLink("Nuova Notizia","NewNotice","Notizie") %>

    <div id="listaNotizie"></div>
</asp:Content>
